<template>
<div>

    <basic-container>产品配置 / 测试工具 / 一分钱充值</basic-container>
    <basic-container>
      <el-form ref="form" :model="form" label-width="120px" class="demo-form-inline">
    <el-form-item label="一分钱充值">
      <el-input v-model="form.userIds" type="textarea" placeholder="用户id请以英文逗号,隔开"></el-input>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="onSubmit">充值</el-button>
    </el-form-item>
  </el-form>
</basic-container>
</div>
</template>
<script>
import { common } from "@/api/cat/httpRequest";

import {
  appConfigRedCent as baseURL,
} from "@/api/cat/baseUrls";
export default {
  data() {
    return {
      form: {
        userIds: ""
      },
    };
  },
  methods: {
    onSubmit() {
        common(baseURL.save,{userIds:this.form.userIds},null,'POST')
    },
  },
};
</script>